package com.grt.admin.domain.dto;

import java.util.Date;

import javax.validation.constraints.NotNull;

import com.grt.common.BaseDO;

public class ArticleTypeDTO extends BaseDO {

	private long id;

	@NotNull(message = "分类名称不能为空")
	private String typename;

	private String typedesc;// 类型描述

	private Date crtime;// 时间

	private Integer state = 0;// 时间

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	public String getTypedesc() {
		return typedesc;
	}

	public void setTypedesc(String typedesc) {
		this.typedesc = typedesc;
	}

	public Date getCrtime() {
		return crtime;
	}

	public void setCrtime(Date crtime) {
		this.crtime = crtime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}
